home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / pageitem_polyline.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-11-15  |  1.9 KB  |  53 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. /***************************************************************************
  8.                           pageitem_polyline.h  -  description
  9.                              -------------------
  10.     copyright            : Scribus Team
  11.  ***************************************************************************/
  12.  
  13. /***************************************************************************
  14.  *                                                                         *
  15.  *   This program is free software; you can redistribute it and/or modify  *
  16.  *   it under the terms of the GNU General Public License as published by  *
  17.  *   the Free Software Foundation; either version 2 of the License, or     *
  18.  *   (at your option) any later version.                                   *
  19.  *                                                                         *
  20.  ***************************************************************************/
  21.  
  22. #ifndef PAGEITEM_POLYLINE_H
  23. #define PAGEITEM_POLYLINE_H
  24.  
  25. #include <QString>
  26. #include <QRectF>
  27.  
  28. #include "scribusapi.h"
  29. #include "pageitem.h"
  30. class ScPainter;
  31. class ScribusDoc;
  32.  
  33. class SCRIBUS_API PageItem_PolyLine : public PageItem
  34. {
  35.     Q_OBJECT
  36.  
  37. public:
  38.     PageItem_PolyLine(ScribusDoc *pa, double x, double y, double w, double h, double w2, QString fill, QString outline);
  39.     PageItem_PolyLine(const PageItem & p) : PageItem(p) {}
  40.     ~PageItem_PolyLine() {};
  41.     
  42.     virtual PageItem_PolyLine * asPolyLine() { return this; }
  43.     
  44.     virtual void applicableActions(QStringList& actionList);
  45.     virtual QString infoDescription();
  46.  
  47. protected:
  48.     virtual void DrawObj_Item(ScPainter *p, QRectF e, double sc);
  49.  
  50. };
  51.  
  52. #endif
  53.